import request from '@/utils/request'

let api = {};

api.list = (data)=>{
    return request({
        url:"/api/member/system/listStates",
        method:"post",
        data
    });
}

api.add = (data)=>{
    return request({
        url:"/api/member/system/addState",
        method:"post",
        data
    });
}

api.edit = (data)=>{
    return request({
        url:"/api/member/system/editState",
        method:"post",
        data
    });

}

api.delete = (ids)=>{
    return request({
        url:"/api/member/system/softdeleteState",
        method:"post",
        data:ids
    });
}

export default api;